<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!doctype html>
<html lang="en">
<head>
    <%@include file="/WEB-INF/pages/common/head.jsp"%>
</head>
<body>
<div class="container-fluid">
    <div class="panel panel-info">
        <div class="panel-heading">
            <h4>查询条件</h4>
            <a class="caret pull-right" data-toggle="collapse" href="#content"></a>
        </div>
        <div id="content" class="panel-collapse collapse in">
            <div class="panel-body">
                <form id="condition"  class="form-inline">
                    <div class="row">
                        <div class="panel-group col-md-4">
                            <label for="loginName">申领单号:</label>
                            <input type="text" id="loginName" name="applyMasterNo" class="form-control" placeholder="申领单号"/>

                        </div>
                        <div class="panel-group col-md-4">
                            <label for="userName">申领人:</label>
                            <input type="text" id="userName" name="applyName" class="form-control" placeholder="申领人"/>
                        </div>
                        <div class="panel-group col-md-4">
                            <label for="time">申领时间:</label>
                            <input type="text" id="time" name="createDate" class="form-control"/>
                        </div>
                    </div>
                    <div class="row">
                        <div class="panel-group col-md-4">
                            <label for="applyMasterStatuses">处理状态:</label>
                            <select class="form-control" id="applyMasterStatuses" name="applyMasterStatuses">
                                <option value="">全部</option>
                                <option value="0">暂存</option>
                                <option value="1">未处理</option>
                                <option value="2">已处理</option>
                            </select>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-10"></div>
                        <div class="col-md-2">
                            <button class="btn btn-primary" type="button" onclick="searchTjApplyMaster()">查询</button>
                            <button class="btn btn-primary" type="button" onclick="addApplyMaster()">新增</button>
                        </div>

                    </div>

                </form>
            </div>
        </div>
    </div>
    <table id="table" data-toggle="table"
           data-pagination="true"
           data-side-pagination="server"
           data-url="apply/handApply/searchByApplyMasterPager"
           data-toolbar-algin="right"
           data-align="center"
    >
        <thead>
        <tr>
            <th data-field="applyMasterId">序号</th>
            <th data-field="applyMasterNo">申领单号</th>
            <th data-field="applyName">申领人</th>
            <th data-field="departmentCode" data-formatter="FormatDepartment">申领科室</th>
            <th data-field="createDate">申领时间</th>
            <th data-field="applyMasterStatuses" data-formatter="FormatState">处理状态</th>
            <th data-field="applyMasterStatuses" data-formatter="FormatOperation">操作</th>
        </tr>
        </thead>
    </table>
</div>



<%@include file="/WEB-INF/pages/common/modal.jsp"%>
<script src="res/js/handApply.js"></script>

</body>
</html>